﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="EditMemorizedTransaction.aspx.cs" Inherits="Admin_EditMemorizedTransaction" %>
<%@ register src="../UserControls/TreeCategories.ascx" tagprefix = "money" tagname="listCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="scriptCssContent" Runat="Server">
    <link type="text/css" rel="Stylesheet" href="../css/form.css" />
    <link href="../css/tables.css" type="text/css" rel="Stylesheet" />
    <link rel="stylesheet" href="../Resources/XValidation/styles/notifiers.css" type="text/css" media="screen" />
    <script language="javascript" type="text/javascript" src="../js/jquery-1.2.6.js"></script>
    <script language="javascript" type="text/javascript" src="../js/common.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="titlePlaceHolder" Runat="Server">
    <asp:literal id="pageTitle" runat="server"></asp:literal>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
    <asp:scriptmanager id="ScriptManager1" runat="server">
    </asp:scriptmanager>
    <asp:label id="messageLabel" runat="server" visible="false" cssclass="ErrorMessage"></asp:label>
    <br />
    <asp:updatepanel id="UpdatePanel1" runat="server">
        <contenttemplate>
            <div class="InputRow">
                <label class="Label" for="<%= cbTransactionType.ClientID %>"><%= Resources.Strings.TransactionType %><span class="Required">(*)</span></label>
                <asp:dropdownlist runat="server" id="cbTransactionType" cssclass="SingleLine" autopostback="true" onselectedindexchanged="ChangeTransactionType"></asp:dropdownlist>
            </div>
            <div class="InputRow">
                <label class="Label" for="<%= cbAccount.ClientID %>"><asp:literal runat="server" id="labelAccount"></asp:literal><span class="Required">(*)</span></label>
                <asp:dropdownlist runat="server" id="cbAccount" cssclass="SingleLine"></asp:dropdownlist>
            </div>
            <div class="InputRow"  runat="server" id="divAccountTo">
                <label class="Label" for="<%= cbAccountTo.ClientID %>"><%= Resources.Strings.ToAccount %><span class="Required">(*)</span></label>
                <asp:dropdownlist runat="server" id="cbAccountTo" cssclass="SingleLine"></asp:dropdownlist>
            </div>
        </contenttemplate>
    </asp:updatepanel>
    <div class="InputRow">
        <label class="Label" for="<%= ucCategory.ClientID %>"><%= Resources.Strings.Category %><span class="Required">(*)</span></label>
        <money:listcategory runat="server" id="ucCategory" />
    </div>
    <div class="InputRow">
        <label class="Label" for="<%= cbRef.ClientID %>"><%= Resources.Strings.Ref %><span class="Required">(*)</span></label>
        <asp:dropdownlist runat="server" id="cbRef" cssclass="SingleLine"></asp:dropdownlist>
    </div>
    <div class="InputRow">
        <label class="Label" for="<%= cbClass.ClientID %>"><%= Resources.Strings.Class %><span class="Required">(*)</span></label>
        <asp:dropdownlist runat="server" id="cbClass" cssclass="SingleLine"></asp:dropdownlist>
    </div>
    <div class="InputRow">
        <label class="Label" for="<%= tbPayMan.ClientID %>"><%= Resources.Strings.PayMan %><span class="Required">(*)</span></label>
        <asp:textbox id="tbPayMan" runat="server" textmode="SingleLine" maxlength="50" cssclass="SingleLine"></asp:textbox>
    </div>
    <div class="InputRow">
        <label class="Label" for="<%= tbAmount.ClientID %>"><%= Resources.Strings.Amount %><span class="Required">(*)</span></label>
        <asp:textbox id="tbAmount" runat="server" textmode="SingleLine" maxlength="50" cssclass="SingleLine"></asp:textbox>
    </div>
    <div class="InputRow">
        <label class="Label" for="<%= tbNote.ClientID %>"><%= Resources.Strings.Note %></label>
        <asp:textbox id="tbNote" runat="server" textmode="MultiLine" maxlength="100" cssclass="MulitpleLine"></asp:textbox>
    </div>
    <div class="InputRow">
        <label class="Label">&nbsp;</label>
        <asp:Button id="btAddOrUpdate" runat="server" onclick="AddOrUpdate" />
        <input type="button" value="<%= Resources.Strings.Cancel %>" onclick="window.location='MemorizedTransactionManagement.aspx';"
    </div>
    <one:validationmanager id="validationManager" runat="server" formtovalidate="aspnetForm"/>
</asp:Content>



